package animal;

public class Dog extends Animal {
    private String colour;
    public Dog() {
        super(12,"旺财");
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public void set(){
        super.setAge(18);
    }
    public void prin(){
    System.out.println(super.getAge());
    System.out.println(super.getName());
}
    private void bark(){
        System.out.println("wangwang");
    }
}
